package controllers

import (
	"advertoper/errorcode"
	"advertoper/hotactivity"
)

type HotActivityController struct {
	URLSignController
}

func (p *HotActivityController) GetHotActivityInfo() {
	defer p.Output("GetHotActivityInfo")

	data := hotactivity.GetHotActivityInfoService().GetHotActivityInfo(0, 20)
	p.Resp["code"] = errorcode.EC_GL_SUCCESS
	p.Resp["msg"] = errorcode.Msg(errorcode.EC_GL_SUCCESS)
	p.Resp["data"] = data
}
